<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <title>余额充值 - {$tp_config.shop_info_store_name}</title>
        <link rel="stylesheet" href="__STATIC__/index/css/font.css">
        <link rel="stylesheet" href="__STATIC__/index/layui/css/layui.css?t=1527238724161">
        <link rel="stylesheet" href="__STATIC__/index/css/global.css" charset="utf-8">
    </head>
    <body>
        <include file="public/header"/>
        <div class="layui-container fly-marginTop fly-user-main">
            <include file="public/left"/>
            <div class="site-tree-mobile layui-hide">
                <i class="layui-icon">&#xe602;</i>
            </div>
            <div class="site-mobile-shade"></div>
            <div class="fly-panel fly-panel-user" pad20>
                <div class="layui-tab layui-tab-brief" lay-filter="recharge">
                    <ul class="layui-tab-title" id="LAY_mine">
                        <li lay-id="recharge">余额充值</li>
                        <li lay-id="rechargeLog">充值记录</li>
                        <li class="layui-this" lay-id="accountLog">资金明细</li>
                        <!-- <li lay-id="bind">提现记录</li> -->
                    </ul>
                    <div class="layui-form layui-tab-content" id="LAY_ucm" style="padding: 5px 0;">
                        <div class="layui-tab-item layui-show">
                            <form action="{:url('User/accountLog')}" class="layui-form" method="POST">
                                <div class="layui-form-item" style="margin: 10px 0 0;">
                                    <label class="layui-form-label" style="width: auto; padding-right: 5px;">订单筛选：</label>
                                    <div class="layui-input-inline">
                                        <input type="text" name="alias" class="layui-input" value="">
                                    </div>
                                    <button type="submit" class="layui-btn">搜索</button>
                                </div>
                            </form>
                            <table id="LAZADA_AccountList" ></table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <include file="public/footer">
        <script src="__STATIC__/index/js/user.js"></script>
        <script type="text/html" id="changeTpl">
            {{#  
              var getDatefun = function(data){
                if(data){
                    var date = new Date(data*1000);
                    var Y = date.getFullYear() + '-';
                    var M = (date.getMonth()+1 < 10 ? '0'+(date.getMonth()+1) : date.getMonth()+1) + '-';
                    var D = date.getDate() + ' ';
                    var h = date.getHours() + ':';
                    var m = date.getMinutes() + ':';
                    var s = date.getSeconds();
                    return Y+M+D+h+m+s;
                }
              }; 
            }}
            {{getDatefun(d.change_time)}}
        </script>
    </body>
</html>
